<?php
$phone = $_REQUEST['phone'];
$mima = $_REQUEST['mima'];
$con = mysqli_connect("localhost","root","","friday");
mysqli_set_charset($con,"utf8");
$sql = "INSERT INTO user (iphone, mima) VALUES('{$phone}','{$mima}')";
$result = mysqli_query($con, $sql);
//关闭数据库
mysqli_close($con);

?>